/** @file               sw_config.h
 *  @copyright          Copyright (C) 2006-2026 flyfish (tenggui_fu@126.com)
 *  @brief              This file is part of the swallow library
 *  @author             $Author: Thinkpad $
 *  @version            $Rev: 378 $
 *  @date               $Date: 2016-12-14 17:51:27 +0800 (周三, 14 12月 2016) $
 */
#ifndef __SW_CONFIG_H__
#define __SW_CONFIG_H__

/* Global platform IDs */
#define SW_V_PLATFORM_X86                    0
#define SW_V_PLATFORM_HISI3516A              1
#define SW_V_PLATFORM_HISI3516               2
#define SW_V_PLATFORM_HISI3518               3
#define SW_V_PLATFORM_DM368                  4
#define SW_V_PLATFORM_AMBA5S                 5
#define SW_V_PLATFORM_S3C6410                6
#define SW_V_PLATFORM_MINGW                  7
#define SW_V_PLATFORM_HISI3516CV300          8

/* Global macro definitions */
#define SW_V_NAME                            "swallow"
#define SW_V_VERSION_MAJOR                   1
#define SW_V_VERSION_MINOR                   2
#define SW_V_VERSION_PATCH                   0
#define SW_V_VERSION_BUILD                   0
#define SW_V_SYSTEM                          "Linux"
#define SW_V_PLATFORM                        "hisi3516a"
#define SW_V_PLATFORM_ID                     SW_V_PLATFORM_HISI3516A
#define SW_V_SVN_URL                         ""
#define SW_V_SVN_REVISION                    
#define SW_V_SVN_AUTHOR                      ""
#define SW_V_SVN_DATE                        ""

/* Subversion control flag */
/* #undef SW_V_PROJECT_SVN */

/* Project macro definitions */
/* #undef SW_V_DISABLE_THREAD */
/* #undef SW_V_DISABLE_CFGM */
/* #undef SW_V_DISABLE_CMDSERVER */
#define SW_V_DISABLE_TUI                     1
/* #undef SW_V_DISABLE_IMAGE */
#define SW_V_DISABLE_FONT                    1
#define SW_V_DISABLE_OSD                     1
/* #undef SW_V_DISABLE_ERRNO */
/* #undef SW_V_DISABLE_LIST */
/* #undef SW_V_DISABLE_JSON */
#define SW_V_DISABLE_CHARSET                 1
/* #undef SW_V_DISABLE_COND */
/* #undef SW_V_DISABLE_CURVE */
/* #undef SW_V_DISABLE_DEBUG */
/* #undef SW_V_DISABLE_DEVICE */
/* #undef SW_V_DISABLE_DIR */
/* #undef SW_V_DISABLE_FILE */
/* #undef SW_V_DISABLE_INI */
/* #undef SW_V_DISABLE_LSOCKET */
/* #undef SW_V_DISABLE_MATH */
/* #undef SW_V_DISABLE_MEM */
/* #undef SW_V_DISABLE_MODULE */
/* #undef SW_V_DISABLE_MQUEUE */
/* #undef SW_V_DISABLE_MUTEX */
/* #undef SW_V_DISABLE_RWLOCK */
/* #undef SW_V_DISABLE_RBUF */
/* #undef SW_V_DISABLE_SEM */
/* #undef SW_V_DISABLE_SERIAL */
/* #undef SW_V_DISABLE_SOCKET */
/* #undef SW_V_DISABLE_TBUF */
/* #undef SW_V_DISABLE_TIME */
/* #undef SW_V_DISABLE_UTIL */
/* #undef SW_V_DISABLE_DLL */
#define SW_V_DISABLE_SQLITE                  1
/* #undef SW_V_DISABLE_COMPRESS */
/* #undef SW_V_DISABLE_MSGQ */
/* #undef SW_V_DISABLE_MBX */
/* #undef SW_V_DISABLE_TIMER */
/* #undef SW_V_DISABLE_THREADPOOL */
/* #undef SW_V_DISABLE_LIST2 */
/* #undef SW_V_DISABLE_SIGNAL */
/* #undef SW_V_DISABLE_TLS */
#define SW_V_DISABLE_CRYPT                   1

/* Extra libraries */
#define SW_V_WITH_LIB                        1
#define SW_V_WITH_LSTLIB                     1
#define SW_V_WITH_MININI                     1
/* #undef SW_V_WITH_FREEIMAGE */
/* #undef SW_V_WITH_FREETYPE */
/* #undef SW_V_WITH_ICONV */
#define SW_V_WITH_JSON                       1
/* #undef SW_V_WITH_ZLIB */
/* #undef SW_V_WITH_BZ2 */
#define SW_V_WITH_SPLINE                     1
/* #undef SW_V_WITH_ARGTABLE2 */
/* #undef SW_V_WITH_MQUEUE */
/* #undef SW_V_WITH_SQLITE */
/* #undef SW_V_WITH_PROCPS */
#define SW_V_WITH_LZMA                       1
/* #undef SW_V_WITH_NATIVE */
/* #undef SW_V_WITH_PTHREAD */
/* #undef SW_V_WITH_STACKTRACE */
/* #undef SW_V_WITH_UBACKTRACE */
/* #undef SW_V_WITH_TOMCRYPT */
#define SW_V_WITH_MHASH                      1
#define SW_V_WITH_UUID2                      1

/* Check headers */
#define HAVE_PTHREAD_H                       1
#define HAVE_LIBINTL_H                       1
#define HAVE_DLFCN_H                         1
#define HAVE_FCNTL_H                         1
#define HAVE_INTTYPES_H                      1
#define HAVE_LIMITS_H                        1
#define HAVE_LOCALE_H                        1
#define HAVE_MEMORY_H                        1
#define HAVE_STDARG_H                        1
#define HAVE_STDINT_H                        1
#define HAVE_STDLIB_H                        1
#define HAVE_STRINGS_H                       1
#define HAVE_STRING_H                        1
#define HAVE_SYSLOG_H                        1
#define HAVE_SYS_CDEFS_H                     1
#define HAVE_SYS_PARAM_H                     1
#define HAVE_SYS_STAT_H                      1
#define HAVE_SYS_TYPES_H                     1
#define HAVE_UNISTD_H                        1
#define HAVE_STDDEF_H                        1
#define HAVE_STDIO_H                         1

/* Check functions */
/* #undef HAVE_DOPRNT */
#define HAVE_MALLOC                          1
#define HAVE_OPEN                            1
#define HAVE_REALLOC                         1
#define HAVE_SETLOCALE                       1
#define HAVE_SNPRINTF                        1
#define HAVE_STRCASECMP                      1
#define HAVE_STRDUP                          1
#define HAVE_STRERROR                        1
#define HAVE_STRCASECMP                      1
#define HAVE_STRNCASECMP                     1
#define HAVE_STRNDUP                         1
#define HAVE_VASPRINTF                       1
#define HAVE_VPRINTF                         1
#define HAVE_VSNPRINTF                       1
#define HAVE_VSYSLOG                         1
#define HAVE_PTHREAD_TRYJOIN_NP              1
#define HAVE_PTHREAD_GETATTR_NP              1
#define HAVE_PTHREAD_ATTR_GETSTACK           1
#define HAVE_FSEEKO                          1

#endif
